package com.example.p2p.config;

import com.example.p2p.app.App;
import com.example.p2p.utils.FileUtil;
import com.example.utils.FileUtils;

/**
 * 常量
 * Created by 陈健宇 at 2019/6/9
 */
public class Constant {

    public static final String EXTRA_TARGET_USER = "targetUser";

    public static final String FILE_NAME_USER = "user";
    public static final String FILE_PATH_USER = FileUtils.getFilePath(App.getContext(), "user/");
    public static final String FILE_USER_IMAGE = FILE_PATH_USER + "userImage.png";
    public static final String FILE_PATH_ONLINE_USER = FileUtils.getFilePath(App.getContext(),  "/P2P/onlineUser/");

    public static final int MAX_SELECTED_PHOTO = 9;
    public static final String KEY_MIN_MAX_UPDATE_POS = "rangPos";
    public static final String KEY_CHOOSE_PHOTOS_PATH = "paths";
    public static final String KEY_IS_RAW_PHOTO = "isRawPhoto";

    public static final int WAITING_TIME = 3000;

}
